Skip to content

Moved country codes to be provided by singleton#429

Closed
gsinghkular wants to merge 1 commit intoExpDev07:masterfrom
gsinghkular:country-codes-singleton
Closed

Moved country codes to be provided by singleton#429
gsinghkular wants to merge 1 commit intoExpDev07:masterfrom
gsinghkular:country-codes-singleton

Conversation

@gsinghkular
Copy link

  • Applied Singleton design pattern to provide the country codes
  • Removed Country codes dictionary from global scope
  • Added unit test to test singleton's id
  • Refactored existing code to get country code from singleton

@gsinghkular gsinghkular closed this Aug 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant